a:link {
	COLOR: blue;
	TEXT-TRANSFORM: none;
	TEXT-DECORATION: none
}

a:visited {
	COLOR: blue;
	TEXT-TRANSFORM: none;
	TEXT-DECORATION: none
}

a:hover {
	COLOR: red;
	TEXT-DECORATION: underline
}

div.ptt {
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18pt;
	font-weight: bold;
	color: blue;
}

div.ptx {
	font-family: "Times New Roman", Times, serif;
	font-size: 12pt;
}

p.pst {
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18pt;
	font-weight: bold;
	color: blue;
	margin-bottom: 0px;
}

pre.sio {
	font-family: Courier New, Courier, monospace;
	font-size: 12pt;
}

.standing th {
	text-align: center;
}

.standing td {
	text-align: center;
}

.center {
	text-align: center;
}

.title {
	font-family: Arial, Helvetica, sans-serif;
}

.time {
	text-align: center;
	width: 155px;
}

.textBG {
	background-color: #EAEBFF;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	padding: 10px;
	border-style: dotted;
	border-width: 2px;
}

.sioBG {
	background-color: #EAEBFF;
	padding-left: 10px;
}

.plm {
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12pt;
}

.alignLeft {
	text-align: left;
}

.alignRight {
	text-align: right;
	padding-left: 20px;
}



.blue {
	color: blue;
}

.red {
	color: red;
}

.banner{
	background-color:#D3D6FF;
	font-weight: bold;
}

.id {
	text-align: center;
	width: 50px;
}

.status{
	width: 80px;
}

.type{
	width: 80px;
}

.select{
	width: 180px;
}

.opr {
	width: 60px;
}

.form_title {
	padding: 10px 0px;
	vertical-align: top;
}

.description{
	text-align: center;
	background-color: #F8F8F8;
	MARGIN-RIGHT: auto;
	MARGIN-LEFT: auto;
	MARGIN-top: 20px;
	width: 960px;
}

.errorMessage {
	font-weight: bold;
	color: red;
}

.white {
	background-color: #ebfff4;
	color: black;
}

.green {
	background-color: #a9f5af;
	color: black;
}

.red {
	background-color: #FFDDDD;
	color: black;
}

/***************table font ******************/
table.display {
	font-size: 14px;
	line-height: 20px;
	font-family: Verdana;
}


/***************struts2 error ******************/
.errorMessage {
	margin: 2px;
}


/********************listContest*********************/
tr.Ended.odd {
	background-color:#DDFFDD;
}

tr.Ended.even {
	background-color:#EEFFEE;
}

tr.Running.odd {
	background-color:#FFDDDD;
}

tr.Running.even {
	background-color:#FFEEEE;
}

tr.Scheduled.odd {
	background-color:#E2E4FF;
}

tr.Scheduled.even {
	background-color:#EAEBFF;
}

td.Public {
	color: blue;
}

td.Private {
	color: red;
}

td.Ended, span.Ended {
	color: green;
}

td.Running, span.Running {
	color: red;
}

td.Scheduled, span.Scheduled {
	color: blue;
}

/********************standing*********************/

table.standing .rank {
	width: 40px;
}

table.standing .id {
	width: 120px;
}

table.standing .solve {
	width: 40px;
}

table.standing .standing_time {
	width: 100px;
	font-size: 12px;
}

table.standing td span {
	color: gray;
}

table.standing td.curTd {
	background-color: #CCDDFF;
}

table.standing td.sameTd {
	background-color: #FFFFBB;
}

div.processing {
    background-color: white;
    border: 1px solid #DDDDDD;
    color: #999999;
    font-size: 14px;
    height: 30px;
    left: 50%;
    margin-left: -125px;
    margin-top: -15px;
    padding: 14px 0 2px;
    position: absolute;
    text-align: center;
    top: 300px;
    width: 250px;
    z-index: 1000;
}

/********************Status*********************/
a.shared {
	font-family: Arial, Helvetica, sans-serif;
	color: #00AA00;
	font-weight: bold;
}

.result {
	font-family: Arial,Helvetica,sans-serif;
	font-weight: bold;
	width: 280px;
}

.prob_num {
	width: 120px;
}

.memory {
	width: 90px;
	text-align: right;
}

.time {
	width: 90px;
	text-align: right;
}

.language {
	font-size: 12px;
	width: 200px;
}

.length {
	width: 60px;
	text-align: right;
}

.date {
	width: 180px;
	text-align: center;
}


/********************ViewProblem*********************/
.desc_info {
	background-color:#EAEBFF;
	margin: 3px;
	padding: 5px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}

.selected {
	background-color:#DDFFDD;
}
 
#left_view {
}

td#mid_view {
	vertical-align: top;
	width: 15px;
}

.mid_hover{
	background-color:#CCDDFF;
}

#right_view {
	vertical-align: top;
	width: 320px;
}

.remark {
	font-family:Courier;
	font-size:17px;
}

.over {
	background-color:#EEEEEE;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

p.pst span {
	color: black;
	font-family: Courier;
	font-size: 17px;
	float: right;
}

pre {
	white-space: pre-wrap;       /* CSS-3 */
	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
	white-space: -pre-wrap;      /* Opera 4-6 */
	white-space: -o-pre-wrap;    /* Opera 7 */
	word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

body {
	background-image: -webkit-gradient(
	    linear,
	    left bottom,
	    left top,
	    color-stop(0.1, rgb(203,250,225)),
	    color-stop(0.95, rgb(255,255,255))
	);
	background-image: -moz-linear-gradient(
	    center bottom,
	    rgb(203,250,225) 10%,
	    rgb(255,255,255) 95%
	);
	background-attachment: fixed;
}
